

//巡视结果选择,消缺结果选择
var result = document.getElementsByClassName("update-btn");
for(var i = 0; i < result.length; i++) {
	result[i].index=i;
	result[i].addEventListener('tap',function(){
	for(var j = 0; j < result.length; j++) {
		result[j].classList.remove("on-active");
	}
	this.classList.add("on-active");
});
}
var scord = document.getElementsByClassName("scord");
for(var i = 0; i < scord.length; i++) {
	scord[i].index=i;
	scord[i].addEventListener('tap',function(){
	for(var j = 0; j < scord.length; j++) {
		scord[j].classList.remove("on-active");
	}
	this.classList.add("on-active");
});
}